<?php 
	$content_id = $params[0];
	//news
	$sql = "SELECT `title`,`detail` FROM `tbl_news` WHERE `content_id` = '$content_id' AND `status` = '1' LIMIT 1";
	$query = mysql_query($sql);
	while($result = mysql_fetch_assoc($query)) {
		$title	= $result['title'];
		$detail	= $result['detail'];
	}
	mysql_free_result($query);
?>